#!/bin/python3
import sys
import requests

url = "http://prom.so.qihoo.net:8000/api/home/message/custom/send"
payload = {
  "tousers": sys.argv[1].split(","),
  "msgtype": "voice",
  "voice": {
      "message": sys.argv[2]
  }
}
response = requests.post(url, json=payload, timeout=10)
print(response.json())
